import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.scss';
import App from './App';

// 导入路由管理包
import { HashRouter as Router } from "react-router-dom";

const root = ReactDOM.createRoot(
  document.getElementById("root") as HTMLElement
);

root.render(
  <Router>
    <App />
  </Router>
);
